ASP.NET Core MVC Controls | ComponentOne
C1.Web.Mvc Namespace / IItemsSource<T> Interface / InitialItemsCount Property






In This Topic
    InitialItemsCount Property (IItemsSource<T>)
    In This Topic
    Gets or sets a number value which decides the count of the initial loaded items.
    Syntax
    'Declaration
     
    
    Property InitialItemsCount As System.Nullable(Of Integer)
    'Usage
     
    
    Dim instance As IItemsSource(Of T)
    Dim value As System.Nullable(Of Integer)
     
    instance.InitialItemsCount = value
     
    value = instance.InitialItemsCount
    System.Nullable<int> InitialItemsCount {get; set;}
    read-write property InitialItemsCount: System.Nullable; 
    function get,set InitialItemsCount : System.Nullable
    __property System.Nullable<int> get_InitialItemsCount();
    __property void set_InitialItemsCount( 
       System.Nullable<int> value
    );
    property System.Nullable<int> InitialItemsCount {
       System.Nullable<int> get();
       void set (    System.Nullable<int> value);
    }
    Remarks
    It only works when the DisableServerRead property is false and no paging mode. It only accepts a number which equals or greater than 0 or null. When it is set to null, that means all the items would be loaded in the client.
    See Also